package com.lxy.demo;

import com.lxy.demo.entity.City;
import com.lxy.demo.entity.Condition;
import com.lxy.demo.service.CityService;
import com.lxy.demo.service.CityServiceImpl;
import com.lxy.demo.service.ToursInfoService;
import com.lxy.demo.service.ToursInfoServiceImpl;
import com.lxy.demo.utils.PageBean;

import java.util.List;

public class Test {
    static ToursInfoService t = new ToursInfoServiceImpl();
    public static void t1(){
        Condition condition = new Condition();
        PageBean i = t.findInfoBySome(condition, 3);
        System.out.println(i.getDataList());
        System.out.println(i.getP());
        System.out.println(i.getPageSize());
    }

    public static void t2(){
    }
    public static void main(String[] args) {

    }
}
